#!/usr/bin/env bash

#pull the laster version 
#echo "please wait to pull the laster version dotfiles."
#git pull origin master;

echo "please wait copying .aliases file to ~/ dir."
ln /home/janl/workspace/code/dotfiles/.bash_aliases ~/.bash_aliases

#echo "please wait copying .gitconfig file to ~/ dir."
#cp -l .gitconfig ~/.gitconfig

#echo "please wait copying .gitignore file to ~/ dir."
#cp -l .gitignore ~/.gitignore

#echo "please wait copying .zsh file to ~/ dir."
#cp -l .zhsrc ~/.zshrc 

#echo "please wait copying janl.zsh-theme file to ~/.oh-my-zsh/custom/themes dir."
#cp -l janl.zsh-theme ~/.oh-my-zsh/custom/themes/janl.zsh-theme 

echo "please wait Creating .vim and sub folders. " 
mkdir -p ~/.vim/colors;
mkdir -p ~/.vim/bundle;
mkdir -p ~/.vim/tmp/backup;
mkdir -p ~/.vim/tmp/swap;

echo "please wait copying vim colorscheme filess to ~/.vim/colors/ dir."
ln /home/janl/workspace/code/dotfiles/vim_colorschemes/colorsbox/colors/colorsbox-material.vim ~/.vim/colors/colorsbox-material.vim 

echo "please wait copying vom plugin Vundle.vim."
cp -r /home/janl/workspace/code/dotfiles/vim_plugins/Vundle.vim ~/.vim/bundle/Vundle.vim;

#echo "please wait copying .gvimrc file to ~/ dir."
#cp .gvimrc ~/.gvimrc

echo "please wait copying .vimrc file to ~/ dir."
ln /home/janl/workspace/code/dotfiles/.vimrc ~/.vimrc


echo "Vundle plugin installed, please open vim and input :PluginInstall command to install plugins."
#echo "please wait to install vim plugins. "
#vim +PluginInstall +qall

#echo "please wait recuore .bashrc to config file to use."
#source ~/.bashrc
